Improve docs for ForecastIO in WeatherAgent

Richard Morrison 10 years ago
parent
commit
fd9300584d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/agents/weather_agent.rb

+ 1 - 1
app/models/agents/weather_agent.rb

@@ -17,7 +17,7 @@ module Agents
17 17
 
18 18
       The `location` can be a US zipcode, or any location that Wunderground supports. To find one, search [wunderground.com](http://wunderground.com) and copy the location part of the URL.  For example, a result for San Francisco gives `http://www.wunderground.com/US/CA/San_Francisco.html` and London, England gives `http://www.wunderground.com/q/zmw:00000.1.03772`.  The locations in each are `US/CA/San_Francisco` and `zmw:00000.1.03772`, respectively.
19 19
 
20
-      If you plan on using ForecastIO, the `location` must be a set of GPS coordinates.
20
+      If you plan on using ForecastIO, the `location` must be a comma-separated string of co-ordinates (longitude, latitude). For example, San Francisco would be `37.7771,-122.4196`.
21 21
 
22 22
       You must setup an [API key for Wunderground](http://www.wunderground.com/weather/api/) in order to use this Agent with Wunderground.
23 23